package com.boyi.shared.http.base;

public class ObjectResp<T> extends BaseDo {

	public static class RespData<T> implements DataObject {

        private T result;

		public T getResult() {
			return result;
		}

		public void setResult(T result) {
			this.result = result;
		}

    }
	
	private RespData<T> data;

    public final T getResult() {
        T result = null;
        if (data != null) {
            result = data.getResult();
        }
        return result;
    }

	public void setData(RespData<T> data) {
		this.data = data;
	}
	
}
